//
//  ViewController.m
//  YX_Coupon
//
//  Created by angle yan on 2017/12/1.
//  Copyright © 2017年 高砚祥. All rights reserved.
//

#import "ViewController.h"
#import "CouponView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    
    
    
    
    CouponView *coupon =  [CouponView getCouponView];
    coupon.center = self.view.center;
    coupon.colors = @[(__bridge id)[UIColor redColor].CGColor,
                      (__bridge id)[UIColor blueColor].CGColor];
    coupon.shadowColor = [UIColor yellowColor];
    coupon.sepLineColor = [UIColor redColor];
    [self.view addSubview: coupon];
    
    
    
    
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
